-- GENERATED SPELL FOR [Bloodscalp Berserker] --


function spell0_597(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_597', 591, 1)
end

function Sorts_597(pUnit, Event)
local choix_sorts_597 = math.random(0, 0)
if choix_sorts_597 == 0 then
pUnit:RegisterEvent('spell0_597', 1, 1)
end
end

function mob597_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_597', math.random(1500, 3000), 1)
end

function mob597_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob597_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob597_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(597, 1, 'mob597_Action')
RegisterUnitEvent(597, 2, 'mob597_Leave')
RegisterUnitEvent(597, 3, 'mob597_Kill')
RegisterUnitEvent(597, 4, 'mob597_Die')
